﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public partial class DailyContra
    {
        #region 字段
        private int m_id;   //主键编号
        private int m_DailyManagementID;   //日报管理编号
        private string m_GroupID;   //作业区编号
        private string m_ClassID;   //班组编号
        private int m_ContractorID;   //承包商主键编号
        private DateTime m_AddDate;   //添加日期
        private string m_WorkContent;   //作业内容
        private string m_RiskContent;   //风险识别
        private string m_ControlContent;   //控制措施
        #endregion

        #region 属性

        /// <summary>
        /// 主键编号
        /// </summary>
        public int id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        /// <summary>
        /// 日报管理编号
        /// </summary>
        public int DailyManagementID
        {
            get { return m_DailyManagementID; }
            set { m_DailyManagementID = value; }
        }

        /// <summary>
        /// 作业区编号
        /// </summary>
        public string GroupID
        {
            get { return m_GroupID; }
            set { m_GroupID = value; }
        }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }

        /// <summary>
        /// 承包商主键编号
        /// </summary>
        public int ContractorID
        {
            get { return m_ContractorID; }
            set { m_ContractorID = value; }
        }

        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime AddDate
        {
            get { return m_AddDate; }
            set { m_AddDate = value; }
        }

        /// <summary>
        /// 作业内容
        /// </summary>
        public string WorkContent
        {
            get { return m_WorkContent; }
            set { m_WorkContent = value; }
        }

        /// <summary>
        /// 风险识别
        /// </summary>
        public string RiskContent
        {
            get { return m_RiskContent; }
            set { m_RiskContent = value; }
        }

        /// <summary>
        /// 控制措施
        /// </summary>
        public string ControlContent
        {
            get { return m_ControlContent; }
            set { m_ControlContent = value; }
        }
        #endregion
    }

    public enum EnumDailyContra
    {

        /// <summary>
        /// 主键编号
        /// </summary>
        id,

        /// <summary>
        /// 日报管理编号
        /// </summary>
        DailyManagementID,

        /// <summary>
        /// 作业区编号
        /// </summary>
        GroupID,

        /// <summary>
        /// 班组编号
        /// </summary>
        ClassID,

        /// <summary>
        /// 承包商主键编号
        /// </summary>
        ContractorID,

        /// <summary>
        /// 添加日期
        /// </summary>
        AddDate,

        /// <summary>
        /// 作业内容
        /// </summary>
        WorkContent,

        /// <summary>
        /// 风险识别
        /// </summary>
        RiskContent,

        /// <summary>
        /// 控制措施
        /// </summary>
        ControlContent
    }
}
